function t_lazyload__init(){t_lazyload__detectwebp();var e=document.querySelector("#allrecords");e&&"yes"===e.getAttribute("data-tilda-imgoptimoff")?window.lazy_imgoptimoff="yes":window.lazy_imgoptimoff="";for(var t=document.querySelectorAll(".t156 .t-img"),i=0;i=0&&t.left<=(window.innerWidth||document.documentElement.clientWidth)&&t.right>=0}))}function t_lazyload__getResizeCommand(e,t){return e?"contain"===t?"contain":"cover"===t?"cover":"resize":"contain"===t?"contain":"cover"}window.lazy="y",window.t_loadImgStats=[],function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.LazyLoad=t()}(window,(function(){var e,t,i=!1,n,o,a=!1,r=/\/static\.tildacdn\.(info|.{1,3})\//,l={},d="undefined"!=typeof getComputedStyle;function s(){i||(e={elements_selector:"img",container:window,threshold:300,throttle:50,data_src:"original",data_srcset:"original-set",class_loading:"loading",class_loaded:"loaded",skip_invisible:!0,show_while_loading:!0,callback_load:null,callback_error:null,callback_set:null,callback_processed:null,placeholder:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},document.body&&"object"==typeof document.body&&(t=!!document.body.classList),a="IntersectionObserver"in window,i=!0,n=["200x151","640x712","320x356","670x744","335x372","300x225","500x375","400x301","748x832","374x416","670x502","335x251","360x234","560x622","280x311","640x416"],o=["353x245","155x151","158x164","372x495","280x272","117x117","291x280","280x269","335x241","283x283","150x156","353x233","414x730","372x362","275x206","290x322","248x207","177x136","173x173","280x308","195x214","248x191","155x196","163x203","320x444","158x162","176x203","412x700","360x88","360x616","167x167","130x144","280x233","560x314","320x299","372x275","320x178","372x242","360x352","353x294","260x182","372x310","335x344","374x432","414x500","374x360","220x338","150x146","335x239","176x176","320x302","374x260","360x568","191x221","192x192","372x558","335x188","320x358","335x258","374x575","26x26","353x360","360x206","335x248","335x322","167x256","560x364","155x172","163x216","163x181","360x257","374x561","374x243","220x212","177x148","291x324","167x160","375x749","335x387","172x172","260x302","414x700","220x254","177x172","374x519","176x169","320x352","335x233","150x203","360x207","158x121","360x396","158x131","150x98","220x169","182x202","320x179","372x413","181x226","353x200","158x153","375x628","176x271","374x364","320x492","374x247","414x833","353x393","335x218","560x399","412x264","293x164","56x56","177x204","248x382","181x181","118x118","260x346","374x497","260x202","393x251","158x158","372x200","373x414","320x229","177x177","312x175","374x312","84x84","320x329","177x194","353x350","335x503","335x446","335x326","374x200","158x182","320x237","335x221","176x196","150x229","320x224","248x276","360x299","260x289","196x216","335x279","177x272","320x426","260x172","155x194","320x369","372x350","360x302","360x402","169x186","158x242","173x199","167x185","360x238","220x123","320x308","414x265","374x350","300x333","177x170","320x222","320x311","260x169","150x173","320x246","353x265","192x222","158x151","372x414","150x144","760x502","314x176","320x208","182x182","320x211","163x163","372x279","360x202","360x252","260x252","260x286","353x392","160x104","374x281","353x353","150x231","320x267","372x372","177x197","275x154","158x175","374x374","150x167","260x146"],l={com:"com",info:"pub",pub:"pub",ink:"ink",pro:"pro",biz:"biz",net:"net",one:"one"})}function c(){var e;return(new Date).getTime()}function u(e,t){var i={},n;for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n]);for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}function _(e){var t;try{t=Array.prototype.slice.call(e)}catch(a){var i=[],n,o=e.length;for(n=0;n-1&&(S=1*P[q].split(":")[1]),P[q].indexOf("comm:")>-1&&"resize"!=(I=P[q].split(":")[1])&&"cover"!=I&&"contain"!=I&&(E=!1),P[q].indexOf("skip")>-1&&(N=!0),P[q].indexOf("optimoff")>-1&&(E=!1)}if(S>1){var D=z(I,s,c,S);s=D[0],c=D[1]}if("cover"==I&&s>0&&c>0&&s<=1e3)if(s===5*Math.ceil(s/5)&&c===5*Math.ceil(c/5));else if(n.indexOf(s+"x"+c)>-1);else if(o.indexOf(s+"x"+c)>-1);else if(m(t,"tn-atom")||m(t,"tn-atom__img"));else{m(t,"t-cover__carrier")||(I="resize");var G=z(I,s,c,100);s=G[0],c=G[1]}if("resize"==I&&s<30&&(N=!0),!0===E&&(l=!0===N||s>1e3||c>1e3||0==s||"IMG"!=t.tagName&&0==c?O(l):A(t.tagName,I,l,s,c,b,k)),"y"===window.lazy_err_static&&w(l)&&(l=l.replace(r,"/static3.tildacdn.com/")),l){if("IMG"===e.tagName)e.setAttribute("src",l);else if("IFRAME"===e.tagName)e.setAttribute("src",l);else if("OBJECT"===e.tagName)e.setAttribute("data",l);else{var W,H;if(-1!==e.style.backgroundImage.indexOf("-gradient("))W=e.style.backgroundImage.split("), ")[1];W?e.style.backgroundImage="url("+l+"), "+W:(e.style.backgroundImage="url("+l+")",v(e,l))}t.lazy_loading_src=l}}else f(t,"loading")}function v(e,t){var i=e.getAttribute("data-content-cover-id");if(i){var n=t.split(".");n=n[n.length-1];var o=document.getElementById("recorddiv"+i);"svg"===n&&(o.style.backgroundImage="")}}function z(e,t,i,n){var o=t,a=i;if("cover"==e&&o>0&&a>0){var r=o/a,l=1;r<=1?(r<=.8&&(l=.8),r<=.751&&(l=.75),r<=.667&&(l=.667),r<=.563&&(l=.562),r<=.501&&(l=.5),a=Math.ceil(a/n)*n,o=Math.ceil(a*l),o=10*Math.ceil(o/10)):(r>=1.25&&(l=1.25),r>=1.332&&(l=1.333),r>=1.5&&(l=1.5),r>=1.777&&(l=1.777),r>=2&&(l=2),o=Math.ceil(o/n)*n,a=Math.ceil(o/l),a=10*Math.ceil(a/10))}else o>0&&(o=Math.ceil(o/n)*n),a>0&&(a=Math.ceil(a/n)*n);return[o,a]}function A(e,t,i,n,o,a,r){if("undefined"==i||null==i)return i;if(i.indexOf(".svg")>0||i.indexOf(".gif")>0||i.indexOf(".ico")>0||-1===i.indexOf("static.tildacdn.")||i.indexOf("-/empty/")>0||i.indexOf("-/resizeb/")>0)return i;if(i.indexOf("/-/")>-1)return i;if(0==n&&0==o)return i;if("y"==window.lazy_err_thumb)return i;if(i.indexOf("lib")>-1)return i;if("IMG"!==e&&"DIV"!==e&&"TD"!==e&&"A"!==e)return i;var l=1;1===window.devicePixelRatio&&Math.max(n,o)<=400&&(l=1.2),window.devicePixelRatio>1&&(l=2);var d=n,s=o,c,u;if(d>0&&(d=parseInt(l*d)),s>0&&(s=parseInt(l*s)),d>1e3||s>1800)return O(i);if("resize"==t)(u=i.split("/")).splice(i.split("/").length-1,0,"-/resize/"+d+"x"+("DIV"==e&&s>0?s:"")+"/"+("y"==window.lazy_webp?"-/format/webp":"")),c=h(u.join("/"));else{if(d<=0&&s<=0)return i;var _=a,x=r;"left"!==a&&"right"!==a&&(_="center"),"top"!==r&&"bottom"!==r&&(x="center"),(u=i.split("/")).splice(i.split("/").length-1,0,"-/"+t+"/"+d+"x"+s+"/"+_+"/"+x+"/"+("y"==window.lazy_webp?"-/format/webp":"")),c=h(u.join("/"))}var f=".webp",m=-1!==c.indexOf(f,c.length-5);return"y"!=window.lazy_webp||m||(c+=".webp"),c}function O(e){if("undefined"==e||null==e)return e;if(e.indexOf(".svg")>0||e.indexOf(".gif")>0||e.indexOf(".ico")>0||-1===e.indexOf("static.tildacdn.")||e.indexOf("-/empty/")>0||e.indexOf("-/resizeb/")>0)return e;if(e.indexOf("/-/")>-1)return e;if(e.indexOf("lib")>-1)return e;if("y"!==window.lazy_webp)return e;if("y"===window.lazy_err_thumb)return e;var t=e.split("/");t.splice(e.split("/").length-1,0,"-/format/webp");var i=h(t.join("/")),n=".webp",o;return-1!==i.indexOf(n,i.length-5)||(i+=".webp"),i}function k(e,t,i){if("string"==typeof t&&null!=t&&""!=t){var n;if(console.error("lazy loading err"),w(t))return window.lazy_err_static="y",void I(e,t.replace(r,"/static3.tildacdn.com/"));if(-1!==t.indexOf(t_lazyload__getThumbDomainName())&&-1!==t.indexOf("/-/")){window.lazy_err_thumb="y";var o=t.split("/"),a="",l="",d;if(o.length>3)for(var s=0;s1?c()-i:"";"object"!=typeof window.t_cdnerrors&&(window.t_cdnerrors=[]),window.t_cdnerrors.push({url:t,time:_,debug:{domloaded:window.t_lazyload_domloaded}})}}}function I(e,t){console.info("try reload: "+t),"IMG"===e.tagName?t&&e.setAttribute("src",t):t&&(e.style.backgroundImage="url("+t+")")}function L(t){s(),this._settings=u(e,t),this._queryOriginNode=this._settings.container===window?document:this._settings.container,this._previousLoopTime=0,this._loopTimeout=null,a&&this._initializeObserver(),this.update(),this.loadAnimatedImages()}return window.t_lazyload_setSources=b,L.prototype._showOnLoad=function(e){var t,i=this._settings,n;function o(){null!==i&&(t_lazyLoad__appendImgStatToArr(t,n),i.callback_load&&i.callback_load(e),b(e,e,i.data_srcset,i.data_src),i.callback_set&&i.callback_set(e),f(e,i.class_loading),x(e,i.class_loaded),t.removeEventListener("load",o))}!e.getAttribute("src")&&i.placeholder&&e.setAttribute("src",i.placeholder),(t=document.createElement("img")).addEventListener("load",o),t.addEventListener("error",(function(t){f(e,i.class_loading),i.callback_error&&i.callback_error(e),void 0!==t.path?k(e,t.path[0].currentSrc,n):void 0!==t.target&&k(e,t.target.currentSrc,n)})),x(e,i.class_loading),n=c(),b(t,e,i.data_srcset,i.data_src)},L.prototype._showOnAppear=function(e){var t=this._settings,i;function n(){null!==t&&(t_lazyLoad__appendImgStatToArr(e,i),t.callback_load&&t.callback_load(e),f(e,t.class_loading),x(e,t.class_loaded),e.removeEventListener("load",n))}"IMG"!==e.tagName&&"IFRAME"!==e.tagName||(e.addEventListener("load",n),e.addEventListener("error",(function(o){e.removeEventListener("load",n),f(e,t.class_loading),t.callback_error&&t.callback_error(e),void 0!==o.path?k(e,o.path[0].currentSrc,i):void 0!==o.target&&k(e,o.target.currentSrc,i)})),x(e,t.class_loading)),i=c(),b(e,e,t.data_srcset,t.data_src),t.callback_set&&t.callback_set(e)},L.prototype._show=function(e){this._settings.show_while_loading?this._showOnAppear(e):this._showOnLoad(e)},L.prototype._initializeObserver=function(){var e=this;this._intersectionObserver=new IntersectionObserver((function(t){var i=window.scrollY;t.forEach((function(t){var n=t.target;if(!(e._settings.skip_invisible&&n.isSkipByPosition&&n.isNotUnderScreenRange)){var o=t.boundingClientRect.top+i<0,a=n.closest(".t396__elem"),r=a&&0===a.style.top.indexOf("-"),l=n.closest(".tn-group"),d=l&&0===l.style.top.indexOf("-");if(n.wasProcessed)return e._intersectionObserver.unobserve(n),void(e._settings.callback_processed&&e._settings.callback_processed(e._elements.length));(t.isIntersecting||o||r||d)&&(e._show(n),n.wasProcessed=!0)}}))}),{rootMargin:this._settings.threshold+"px",threshold:[0]})},L.prototype.loadAnimatedImages=function(){var e,t,i=this._settings,n=this._elements,o=n?n.length:0;function a(e,t){var i;if("trigger"===t){var n=e.getAttribute("data-animate-sbs-trgels");n&&(i=document.querySelector('[data-elem-id="'+n+'"]'))}else"viewport"===t&&(i=g(e,"t396"));return p(i)?y(i):null}function r(e,t){var n=a(e,t);if(!n)return!1;var o=y(e),r=Math.abs(n.top-o.top),l=Math.abs(n.left-o.left);return r>i.threshold||l>i.threshold}for(e=0;e0||a.indexOf(".gif")>0||a.indexOf(".ico")>0||-1===a.indexOf(t_lazyload__getThumbDomainName())||a.indexOf("-/empty/")>0&&a.indexOf("-/resizeb/")>0)){var s=a.indexOf(o)+o.length,c=a.indexOf("/",s);if(s>0&&c>0){var u=a.slice(s,c).split("x"),_=t.clientWidth,x=t.clientHeight;if(_>0&&x>0&&(u[0]>0||u[1]>0)&&(u[0]>0&&_>u[0]||u[1]>0&&x>u[1])&&(u[0]>0&&_-u[0]>100||u[1]>0&&x-u[1]>100)){var f=a.slice(0,s)+(u[0]>0?_:"")+"x"+(u[1]>0?x:"")+a.substring(c);"IMG"==i?t.setAttribute("src",f):t.style.backgroundImage="url('"+f+"')"}}}}};